From 426f6b2e81a95a8b395027c5a2c23426cdf7e838 Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Tue, 17 Jan 2006 16:09:03 +0100 Subject: [PATCH] No longer call xc_vcpu_getcontext() on restore (required after cset 8610). Signed-off-by: Steven Hand --- tools/libxc/xc_linux_restore.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tools/libxc/xc_linux_restore.c b/tools/libxc/xc_linux_restore.c index c91efce4b7..7d8ebda0c7 100644 --- a/tools/libxc/xc_linux_restore.c +++ b/tools/libxc/xc_linux_restore.c @@ -170,13 +170,6 @@ int xc_linux_restore(int xc_handle, int io_fd, } - /* Only have to worry about vcpu 0 even for SMP */ - if (xc_vcpu_getcontext( xc_handle, dom, 0, &ctxt)) { - ERR("Could not get vcpu context"); - goto out; - } - - /* Read the saved P2M frame list */ if(!(p2m_frame_list = malloc(P2M_FL_SIZE))) { ERR("Couldn't allocate p2m_frame_list array"); -- 2.30.2